package com.tian.dto.exchange;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * {@code @description:} 兑换码列表查询返回对象
 *
 * @author tianwc 公众号：Java后端技术全栈
 * 在线刷题 1200+java面试题和1000+篇技术文章：<a href="https://woaijava.cc/">博客地址</a>
 * {@code @date:} 2024-12-10 10:08
 * {@code @version:} 1.0
 */
@ApiModel(value = "兑换码列表查询返回对象")
@Data
public class ExchangeCodeResDto implements Serializable {
    @ApiModelProperty(value = "兑换码id")
    private Long id;
    @ApiModelProperty(value = "兑换码")
    private String code;
    @ApiModelProperty(value = "用户名")
    private String userName;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "优惠券名称")
    private String couponName;
    @ApiModelProperty(value = "优惠券id")
    private Integer couponId;
    @ApiModelProperty(value = "兑换码状态")
    private Integer status;
    @ApiModelProperty(value = "过期时间")
    private String expiredDate;
    @ApiModelProperty(value = "创建时间")
    private String createTime;
}
